[LegacyColorValue = true]; 

{ TSMADOscillator function for the A/D oscillator
  Copyright 1999, P.J.Kaufman. All rights reserved.
}
  inputs:  length(20);
 
  plot1(TSMADOscillator(open,high,low,close,length),"TSMADOsc");
